class Decision < ActiveRecord::Base
	has_many :versions
	has_many :origins, :class_name => "Dependence", :foreign_key => :origin_id
	has_many :targets, :class_name => "Dependence", :foreign_key => :target_id
	has_many :impacts
	has_many :forces, through: :impact
	belongs_to :project
	belongs_to :group

	# def slug
	# 	name.downcase.gsub(" ", "-")
	# end

	# def to_param
	# 	"#{id}-#{slug}"
	# end
end
